home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 1206 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: ix.netcom.com!JAMESCHA
  2. From: jamesch@ix.netcom.com (James Chamblin)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: Help: Basic and ML
  5. Date: 24 Jan 1996 20:11:25 GMT
  6. Organization: Netcom
  7. Message-ID: <4e63pd$kin@reader2.ix.netcom.com>
  8. References: <31028422.783F@itr.qc.ca> <DLLvnI.KKI.0.sheppard@torfree.net>
  9. NNTP-Posting-Host: ix-orl2-24.ix.netcom.com
  10. X-NETCOM-Date: Wed Jan 24 12:11:25 PM PST 1996
  11. X-Newsreader: News Xpress Version 1.0 Beta #4
  12.  
  13. In article <DLLvnI.KKI.0.sheppard@torfree.net>,
  14.    fjb@torfree.net (Jim Butterfield) wrote:
  15. >Christian Lambert (Christian_Lambert@itr.qc.ca) wrote:
  16. >: -- 
  17. >
  18. >: AlainLambert 
  19. >: INTERNET Trois-Rivieres inc.  * Site Web : http://www.itr.qc.ca
  20. >: Email: christian@itr.qc.ca
  21. >
  22. >
  23. >: I need to poke some ML data at the end of basic and I do not 
  24. remember 
  25. >: how that is done.  It has to do with location 55 and 56.
  26. >: Can anyone give me an example code so I can poke my code after basic 
  27. and 
  28. >: SYS to the address. 
  29. >: Email please
  30. >
  31. >  Yes, I know you said EMail ... but then, how will others know if you 
  32. >got an answer or not?
  33. >  Your question is hard to follow.  Do you want to poke some ML data 
  34. >_from_ the end of Basic to somewhere else, or to poke some ML data 
  35. _to_ 
  36. >the end of Basic?
  37. >  The pointer you mention (at 55/56) is, on the 64, the top-of-memory 
  38. >pointer.  So perhaps you want to copy stuff from end-of-Basic to top 
  39. of 
  40. >memory?
  41. >  Adresses 45 and 46 on the C64 point to the space directly behind the 
  42. >Basic program.  But you'd better be careful if you want to meddle with 
  43. >this, since the first variable you use will be plunked at that address 
  44. >(unless you change it before use).
  45. >  Maybe you can be more specific?
  46. >            --Jim
  47. >
  48.  
  49. He's probably talking about poking data at the end of BASIC memory.  
  50. Just poke 55,56 with the highest address you want BASIC to use (just 
  51. below your data) and do a CLR to reset some internal pointers.  That's 
  52. all there is.
  53.